import { constantRoutes } from '@/router'
const state = {
  menu: constantRoutes
}

const mutations = {
  updateMenuList(state, payload) {
    state.menu = [...constantRoutes, ...payload]
  }

}

export default {
  namespaced: true,
  state,
  mutations
}

